/* 表单样式 */
.form {
    display: flex;
    align-items: center;
}

.form .el-form-item {
    margin-right: 20px;
    margin-bottom: 0;
}

.form .el-input {
    width: 200px;
}

/* 表格样式 */
.card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.el-table {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.el-table th {
    background-color: #f5f7fa;
    color: #606266;
    font-weight: 600;
    padding: 12px 0;
}

.el-table td {
    padding: 12px 0;
}

.el-table .el-tag {
    margin: 2px;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

/* 订单详情Dialog */
.el-dialog {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.el-dialog__header {
    padding: 16px 24px;
    border-bottom: 1px solid #e4e7ed;
    background-color: #f5f7fa;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.el-dialog__title {
    font-size: 18px;
    font-weight: 600;
    color: #303133;
}

.el-dialog__body {
    padding: 24px;
}

.product-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.dialog-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}

.close-button {
    background-color: #409eff;
    border-color: #409eff;
    color: #ffffff;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.close-button:hover {
    background-color: #66b1ff;
    border-color: #66b1ff;
}

/* 退货Dialog */
.el-form {
    padding: 20px;
}

.el-form-item {
    margin-bottom: 20px;
}

.el-form-item__label {
    font-weight: 500;
    color: #606266;
}

.el-input, .el-textarea, .el-select {
    width: 100%;
    max-width: 600px;
}

.el-textarea__inner {
    border-radius: 8px;
    padding: 10px;
}

.el-select {
    width: 100%;
    max-width: 300px;
}

.el-button {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.el-button--danger {
    background-color: #f56c6c;
    border-color: #f56c6c;
    color: #ffffff;
}

.el-button--danger:hover {
    background-color: #f78989;
    border-color: #f78989;
}

.el-button--primary {
    background-color: #409eff;
    border-color: #409eff;
    color: #ffffff;
}

.el-button--primary:hover {
    background-color: #66b1ff;
    border-color: #66b1ff;
}